package com.igrowing.easyRpc.retry;

import com.igrowing.easyRpc.model.RpcResponse;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.Callable;

@Slf4j
public class NoRetryStrategy implements RetryStrategy {

    /**
     * 重试
     *
     * @param callable
     * @return
     * @throws Exception
     */
    @Override
    public <T> T doRetry(Callable<T> callable) throws Exception {
        return null;
    }
}